package com.taxinfo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.taxinfo.pojo.dto.SubMatchingDto;
import com.taxinfo.pojo.dto.SystemSubMatchingBO;
import com.taxinfo.pojo.dto.SystemSubMatchingList;
import com.taxinfo.pojo.vo.SubMatching;
import org.springframework.transaction.annotation.Transactional;

import java.io.File;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wanghy
 * @since 2025-01-20
 */
@Transactional
public interface SubMatchingService extends IService<SubMatching> {
    /**
     * 查询所有数据
     * @return
     */
    List<SubMatchingDto> selectAllData(String category);

    List<SubMatchingDto> selectAllData(String compSubName, String subName, String ifMatch,String category);

    String initXlsx(File xlsFile);

    String exportSubMatchFile(String targetFilePath);

    String initAccXlsx(File file, Map<String, List<String>> columnInfo);

    String postList(SystemSubMatchingList subMatchingDtos);
    public String getList(String loginName);

    void insertMatch(SubMatching subMatching);

    List<SubMatchingDto> selectAllDataByStatus(String status);
}
